<?php
return array(
    'LOG_LEVEL' => LOG_DEBUG, // LOG_DEBUG, LOG_INFO, LOG_NOTICE, LOG_WARNING, LOG_ERR
    'LOG_TYPE'  => $_ENV['LOG_TYPE'],  // SYSLOG, PROLOG, FILELOG, KAFKALOG
    // FILELOG
    'LOG_FILE'  => dirname(dirname(dirname(dirname(__DIR__)))).'/run.log',
    // SYSLOG
    'LOG_IDENTITY' => 'PHP-CGI',
    'LOG_FACILITY' => LOG_LOCAL0,
    // KAFKALOG
    'KAFKA_TOPIC' => 'ckafka_pipe_qa',
    'KAFKA_HOST' => '10.10.2.12:9092',
    'KAFKA_VERSION' => '2.6.0',
    // STATISTICS
    'TAIL_HOST' => '127.0.0.1',
    'LOG_HOST' => '127.0.0.1',
    'LOG_PORT' => 6001,
    'CONN_TIMEOUT' => 0.1, // seconds
    'SEND_TIMEOUT' => 0.1, // seconds
    'COMPRESS' => true,

    'LOG_MAX_SIZE' => 1024,
    'LOG_RETAIN_FIELD' => array('act'),
    'LOG_FILTER' => 'FT_ONLINE_EN',
);
